﻿<UserControl x:Class="ViCode_LeVi.Controls.VMTabBalanceAndOthers_Balance_Item"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:vmcontrol="clr-namespace:ViCode_LeVi.Controls"  >
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>        
        
        <vmcontrol:VMTextBox_MultiLine Text="{ Binding MucTieu}" Margin="2" Grid.Column="0"  HorizontalAlignment="Stretch" />
        <vmcontrol:VMResultOfStep_Child VerticalAlignment="Top" VerticalContentAlignment="Center" Background="Transparent"  DataContext="{Binding TinhHinh}" Margin="2" Grid.Column="1" />
        <vmcontrol:VMTextBox_MultiLine Text="{ Binding NhanXet}" Margin="2" Grid.Column="2"  HorizontalAlignment="Stretch" />
        <vmcontrol:VMTextBox_MultiLine Text="{ Binding ChiuTrachNhiem}" Margin="2" Grid.Column="3"  HorizontalAlignment="Stretch" />
        <Button VerticalAlignment="Top"  OverridesDefaultStyle="True" MinHeight="0" MinWidth="0" Margin="2"  Grid.Column="4"  Name="Button_Remove" Click="Button_Remove_Click"  Focusable="False">
            <Button.Content>
                <Image Source="pack://application:,,,/Images/closex.png" Stretch="Uniform"/>
            </Button.Content>
        </Button>
    </Grid>
</UserControl>
